package cn.sdqingyun.smartpark.module.pay.api.client;

import cn.sdqingyun.smartpark.framework.common.pojo.CommonResult;
import cn.sdqingyun.smartpark.module.pay.enums.ApiConstants;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;

@FeignClient(name = ApiConstants.NAME)
@Tag(name = "RPC 服务 - PAY流程实例")
public interface ClientApi {
    CommonResult<String> getByIdChannelCode(String channelId);

    CommonResult<Long> getByChannelCodeId(Long appId, String channelCode);

//    String PREFIX = ApiConstants.PREFIX + "/contract-leave";
//
//    @PostMapping(PREFIX + "/updateContractAuditStatus")
//    @Operation(summary = "更新合同审批审批状态")
//    @Parameter(name = "id", description = "合同ID", required = true, example = "1")
//    void updateContractAuditStatus(@RequestParam("id") Long id,
//                                                   @RequestParam("status") Integer status) throws ParseException;

}
